package org.web.ssm.service.wechatService;

import org.web.ssm.dto.Shoppinglist;
import org.web.ssm.model.Comment;
import org.web.ssm.model.Shopping;

import java.util.List;

/**
 * Created by LUOLIANG on 2016/6/18.
 */
public interface IComentService {
    /**
     * 获取评论列表
     *
     * @param id
     * @return
     * @throws Exception
     */
    List<Comment> listByTopic(int id) throws Exception;

    /**
     * 评论
     *
     * @param comment
     * @throws Exception
     */
    void commrntTopic(Comment comment) throws Exception;
}
